package cn.kgm.user.dto.dto;

import cn.kgm.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotNull;

/**
 * # 技术改变自己 #
 * toC客户
 * @author kappi
 * @date   2024-04-08 15:08:08
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserTypeClientSaveDTO", description = "toC客户")
public class UserTypeClientSaveDTO extends Entity<Long> {

    /**
     * toC客户
     */
    @ApiModelProperty(value = "toC客户", position = 2)
    @NotNull(message = "toC客户不能为空")
    private Long userId;

    /**
     * 是否可用:[0,不可用];[1,可用]
     */
    @ApiModelProperty(value = "是否可用:[0,不可用];[1,可用]", position = 3)
    @NotNull(message = "是否可用:[0,不可用];[1,可用]不能为空")
    private Boolean usable;

}
